Skip to content

Conversation

cbandy
Copy link
Member

@cbandy cbandy commented Sep 29, 2025

Checklist:

  • Have you added an explanation of what your changes do and why you'd like them to be included?
  • Have you updated or added documentation for the change, as applicable?
  • Have you tested your changes on all related environments with successful results, as applicable?
    • Have you added automated tests?

Data directories created by PostgresCluster have checksums enabled, so existing tests exercise the logic that invokes initdb with the --data-checksums argument.

Type of Changes:

  • New feature
  • Bug fix

What is the current behavior (link to any open issues here)?

A data directory without checksums enabled fails during pg_upgrade.

What is the new behavior (if this is a feature change)?

  • Breaking change (fix or feature that would cause existing functionality to change)

PGUpgrade can upgrade a data directory that does not have checksums enabled.

Other Information:

This can happen when a data directory is imported from an external system.

Issue: PGO-619

This can happen when a data directory is imported from an external system.

Issue: PGO-619
@cbandy cbandy merged commit 1c52918 into CrunchyData:main Oct 1, 2025
19 checks passed
@cbandy cbandy deleted the upgrade-checksums branch October 1, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants